Using jqplot with shiny
November 23, 2019
A long time ago, I had a reason to do thia . It is pretty ingenious if you ask me and gives a functionality which is not available anywhere else.
Suppose you had some data and you plotted it.Simple enough to do in Shiny and present it.
Now, what if you want to control the plot shape to shape your data? Sounds simple right?
Well, duh, it’s not, at least in Shiny.
When I was faced with this challenge there were a couple of libraries in Javascript which could do this. Which were Jqplot and highcharts. Of this only jqplot is usable in terms of license issues
So, lets have a look at the relevant part of jqplot http://www.jqplot.com/examples/customHighlighterCursorTrendline.php
As you can check out, it allows us to change the plot points as needed.
So how do you port this functionality over to shiny?